home *** CD-ROM | disk | FTP | other *** search
- Path: ctp.com!news
- From: sayer@ctp.com (Stephen D. Ayers)
- Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.os.ms-windows.nt.pre-release,comp.lang.c++
- Subject: Catastrophic OLE Error
- Date: Mon, 08 Apr 1996 04:46:53 GMT
- Organization: Cambridge Technology Partners, Inc.
- Message-ID: <31689491.151762072@newsserv.ctp.com>
- Reply-To: sayer@ctp.com
- NNTP-Posting-Host: 149.44.115.22
- X-Newsreader: Forte Agent .99d/32.182
-
-
- I have built a very small OCX using the VC++ 4.1 project Wizard. The
- control supports a single method with no arguments and no return
- value.
-
- The VC++ OLE test container tool works fine. It allows me to invoke
- methods without difficulty.
-
- However, whenever I try invoking methods on the object from VB, VBA
- within Excel, or VC++ clients they all return "OLE Automation error -
- Catastrophic failure" after a successful object create.
-
- This is running under NT 4.0 Beta 1.
-
- Am I missing something? Is this the proper way to create OCX objects?
-
- Thanks,
-
-